package com.tonghe.dao;

import com.tonghe.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @Date:2021/12/13- 12- 13- 19:30
 **/
public interface UserMapper {
    List<User> getUserList();
    //模糊查询
    List<User> getUserLike1(String value);

    List<User> getUserLike2(String value);

    User getUserById(int id);

    int addUser(User user);
    int addUser2(Map<String, Object> map);

    int updateUser(User user);

    int deleteUser(int id);

}
